<?php include 'header-inc.php'; ?>

    <div id="inner-wrap">
        <div id="sidebar">
<?php include 'sidebar-inc.php'; ?>

        </div>
        <div id="content-box">
            <div class="inner-box">
            <form method="post" action="<?php echo $this->_url('settings', 'update'); ?>">
                <div class="formbox box">
                    <h3>系统设置</h3>
                    <table>
                        <tr>
                            <th>网站名称：</th>
                            <td><input type="text" id="sitename" name="sitename" value="<?php echo $this->getOption('sitename'); ?>" /></td>
                        </tr>
                        <tr>
                            <th>网站口号：</th>
                            <td><input type="text" id="slug" name="slug" value="<?php echo $this->getOption('slug'); ?>" /></td>
                        </tr>
                        <tr>
                            <th>关键字：</th>
                            <td><input type="text" id="keywords" name="keywords" value="<?php echo $this->getOption('keywords'); ?>" /></td>
                        </tr>
                        <tr>
                            <th>网站描述：</th>
                            <td><textarea id="description" name="description" rows="5"><?php echo $this->getOption('description'); ?></textarea></td>
                        </tr>
                        <tr>
                            <th>ICP备案号：</th>
                            <td><input type="text" id="icp" name="icp" value="<?php echo $this->getOption('icp'); ?>" /></td>
                        </tr>
                        <tr>
                            <th></th>
                            <td><input type="submit" value="保存设置" /> <input type="reset" value="重新设置" /></td>
                        </tr>
                    </table>
                </div>
            </form>
            </div>
        </div>
    </div>
</div>
</body>
</html>